package com.xytc.company.company_backend.adminEndPoint.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xytc.company.company_backend.adminEndPoint.entity.dao.FoodRepositoryDao;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

public interface IFoodManageMapper extends BaseMapper<FoodRepositoryDao> {

    Integer queryFoodsWithStoreInfosCount(@Param("keyword") String keyword);

    List<HashMap<String,Object>> queryFoodsWithStoreInfos(@Param("keyword") String keyword, @Param("limit") Integer limit, @Param("offset") Integer offSet );

}
